<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: network/network.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_c901c14b65aa229498a52b725b3d4a2c.html">network</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">network.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="network_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#ifndef _NETWORK_H_</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#define _NETWORK_H_</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="network_8h.html#a216a891e9fdcc4083d4fb922eacb63f0">network_init</a>;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">/* network.c */</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="network_8h.html#a462d02d06dadbf41aa44824e310aaaf0">ipv4_2str</a>(<a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> ip);</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="network_8h.html#a666e24dd2e3ea9aa24fdd5fc0089aa13">poll_network_message</a> ( <a class="code" href="structwindow.html">window</a> *win );</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keywordtype">void</span> <a class="code" href="network_8h.html#a9aaa25ef08319cd23e2cdee0b6405de5">ntp_setup</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="network_8h.html#af65ec795e7e4486dd8bb58d757fb6067">my_receive</a> ( <span class="keywordtype">void</span> *arg , <span class="keywordtype">char</span> *pdata , <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> len );</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="network_8h.html#a33001f6e7c0326d6a8f20acbc62a1b3a">wifi_event_cb</a> ( System_Event_t *event_p );</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="network_8h.html#a863429734cede00a72890923a53dad24">setup_networking</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="send_8c_html_a435d1572bf3f880d55459d9805097f62"><div class="ttname"><a href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a></div><div class="ttdeci">unsigned int uint32_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00019">send.c:19</a></div></div>
<div class="ttc" id="network_8h_html_a9aaa25ef08319cd23e2cdee0b6405de5"><div class="ttname"><a href="network_8h.html#a9aaa25ef08319cd23e2cdee0b6405de5">ntp_setup</a></div><div class="ttdeci">void ntp_setup(void)</div><div class="ttdef"><b>Definition:</b> <a href="user__main_8c_source.html#l00176">user_main.c:176</a></div></div>
<div class="ttc" id="network_8h_html_af65ec795e7e4486dd8bb58d757fb6067"><div class="ttname"><a href="network_8h.html#af65ec795e7e4486dd8bb58d757fb6067">my_receive</a></div><div class="ttdeci">MEMSPACE void my_receive(void *arg, char *pdata, unsigned short len)</div></div>
<div class="ttc" id="network_8h_html_a33001f6e7c0326d6a8f20acbc62a1b3a"><div class="ttname"><a href="network_8h.html#a33001f6e7c0326d6a8f20acbc62a1b3a">wifi_event_cb</a></div><div class="ttdeci">MEMSPACE void wifi_event_cb(System_Event_t *event_p)</div><div class="ttdoc">WIFI Event Callback. </div><div class="ttdef"><b>Definition:</b> <a href="network_8c_source.html#l00080">network.c:80</a></div></div>
<div class="ttc" id="network_8h_html_a863429734cede00a72890923a53dad24"><div class="ttname"><a href="network_8h.html#a863429734cede00a72890923a53dad24">setup_networking</a></div><div class="ttdeci">MEMSPACE void setup_networking(void)</div><div class="ttdoc">Code fragments if(!wifi_station_dhcpc_stop()) printf( &quot;ERROR wifi_station_dhcpc_stop() \n &quot;);...</div><div class="ttdef"><b>Definition:</b> <a href="network_8c_source.html#l00165">network.c:165</a></div></div>
<div class="ttc" id="network_8h_html_a666e24dd2e3ea9aa24fdd5fc0089aa13"><div class="ttname"><a href="network_8h.html#a666e24dd2e3ea9aa24fdd5fc0089aa13">poll_network_message</a></div><div class="ttdeci">MEMSPACE void poll_network_message(window *win)</div></div>
<div class="ttc" id="network_8h_html_a462d02d06dadbf41aa44824e310aaaf0"><div class="ttname"><a href="network_8h.html#a462d02d06dadbf41aa44824e310aaaf0">ipv4_2str</a></div><div class="ttdeci">MEMSPACE char * ipv4_2str(uint32_t ip)</div><div class="ttdef"><b>Definition:</b> <a href="network_8c_source.html#l00066">network.c:66</a></div></div>
<div class="ttc" id="cpu_8h_html_ad0fe97585b8891f5e4f2b9a6426330a4"><div class="ttname"><a href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="ttdeci">#define MEMSPACE</div><div class="ttdef"><b>Definition:</b> <a href="cpu_8h_source.html#l00025">cpu.h:25</a></div></div>
<div class="ttc" id="structwindow_html"><div class="ttname"><a href="structwindow.html">window</a></div><div class="ttdef"><b>Definition:</b> <a href="ili9341_8h_source.html#l00034">ili9341.h:34</a></div></div>
<div class="ttc" id="network_8h_html_a216a891e9fdcc4083d4fb922eacb63f0"><div class="ttname"><a href="network_8h.html#a216a891e9fdcc4083d4fb922eacb63f0">network_init</a></div><div class="ttdeci">int network_init</div><div class="ttdef"><b>Definition:</b> <a href="network_8c_source.html#l00050">network.c:50</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
